package com.bjwl.dao;

import com.bjwl.pojo.CardDenomination;
import com.bjwl.pojo.ServiceClass;
import com.bjwl.pojo.vo.BasicQueryVo;
import com.bjwl.utils.PageBean;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: dzx
 * @Date:Create：in 2020/5/9 14:40
 * @Description:
 * @Modified By：
 * @Version: 1.0
 */
@Repository
public interface ServerClassMapper {

    public ServiceClass findServiceClassBy(String denomination);

    public void addServiceClass(ServiceClass serviceClass);

    public Integer getTotalRecord(BasicQueryVo vo) ;

    public List<ServiceClass> findAllServiceClass(PageBean<ServiceClass> pageBean, BasicQueryVo vo);

    public ServiceClass findServiceClassById(Integer id);

    public Integer updateServiceClass(ServiceClass serviceClass);

    public void deleteServiceClass(Integer id);

}
